CC = gcc
CROSS_COMPILE = aarch64-buildroot-linux-gnu-

TARGET := wifi_app

CFLAGS = -I../include -I../../lib/lvgl -lpthread

$(TARGET):wifi_app.o common.o
	$(CROSS_COMPILE)$(CC) $^ -o $@ $(CFLAGS)

%.o:wifi_app.c ../main/common.c
	$(CROSS_COMPILE)$(CC) $^ -c $(CFLAGS)

clean:
	@echo "Clean"
	@rm -f wifi_app.o common.o wifi_app
